<%@ page language="java" import="com.alibaba.fastjson.JSONObject" pageEncoding="UTF-8" %>

<%@ page import="com.engine.common.util.ServiceUtil" %>
<%@ page import="com.engine.workflow.entity.publicApi.PAResponseEntity" %>
<%@ page import="com.engine.workflow.entity.publicApi.ReqOperateRequestEntity" %>
<%@ page import="com.engine.workflow.publicApi.WorkflowRequestOperatePA" %>
<%@ page import="com.engine.workflow.publicApi.impl.WorkflowRequestOperatePAImpl" %>
<%@ page import="weaver.hrm.HrmUserVarify" %>
<%@ page import="weaver.hrm.User" %>
<%--流程退回调用QMS接口--%>
<%

    JSONObject paramJson = new JSONObject();
    User user = HrmUserVarify.getUser(request,response);
    try {
        out.print(">>>>>测试接口>>>>>paramJson="+paramJson+"<br/>");
        ReqOperateRequestEntity requestParam = new ReqOperateRequestEntity();
        requestParam.setIntervenorid(user.getUID()+"");
        requestParam.setRequestId(3998005);
        requestParam.setSubmitNodeId(11646573);
        WorkflowRequestOperatePA operatePA = ServiceUtil.getService(WorkflowRequestOperatePAImpl.class);
        PAResponseEntity paResponse =  operatePA.doIntervenor(user,requestParam);
        out.print(">>>>>测试接口>>>>>code="+paResponse.getCode()+"<br/>");
        out.print(">>>>>测试接口>>>>>code="+paResponse.getErrMsg()+"<br/>");
        out.print(">>>>>测试接口>>>>>code="+paResponse.getReqFailMsg()+"<br/>");
        out.print(">>>>>测试接口>>>>>code="+paResponse.getExtra()+"<br/>");
        out.print(">>>>>测试接口>>>>>code="+paResponse.getData()+"<br/>");
    } catch (Exception e) {
        out.print(">>>>>测试接口>>>>>"+e.getMessage());
        e.printStackTrace();
    }
%>




